package com.action.gulimall.member.service;

import com.action.gulimall.member.exception.PhoneException;
import com.action.gulimall.member.exception.UsernameException;
import com.action.gulimall.member.vo.MemberUserLoginVo;
import com.action.gulimall.member.vo.MemberUserRegisterVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.action.common.utils.PageUtils;
import com.action.gulimall.member.entity.MemberEntity;

import java.util.Map;

/**
 * 会员
 *
 * @author shilun
 * @email shilun217@qq.com
 * @date 2021-06-09 23:08:25
 */
public interface MemberService extends IService<MemberEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void register(MemberUserRegisterVo vo) throws PhoneException, UsernameException;

    MemberEntity login(MemberUserLoginVo vo);
}

